package com.zghhost.stockweb.pojo;

import com.alibaba.fastjson.JSONArray;

import java.util.List;

/**
 * @author guohua.zhang@zhaopin.com.cn
 * @Date 2019/5/17 06:12
 */
public class YingyebuEntity {
    private Integer YybBCount;
    private String TDate;
    private String YybName;
    //买入-卖出
    private Double JmMoney;
    private String YybCode;
    private String SName;
    private Double Smoney;
    private Integer YybSCount;
    private Double Bmoney;

    public Integer getYybBCount() {
        return YybBCount;
    }

    public void setYybBCount(Integer yybBCount) {
        YybBCount = yybBCount;
    }

    public String getTDate() {
        return TDate;
    }

    public void setTDate(String TDate) {
        this.TDate = TDate;
    }

    public String getYybName() {
        return YybName;
    }

    public void setYybName(String yybName) {
        YybName = yybName;
    }

    public Double getJmMoney() {
        return JmMoney;
    }

    public void setJmMoney(Double jmMoney) {
        JmMoney = jmMoney;
    }

    public String getYybCode() {
        return YybCode;
    }

    public void setYybCode(String yybCode) {
        YybCode = yybCode;
    }

    public String getSName() {
        return SName;
    }

    public List<SNameEntity> getSNameArr(){
        return JSONArray.parseArray(SName,SNameEntity.class);
    }

    public void setSName(String SName) {
        this.SName = SName;
    }

    public Double getSmoney() {
        return Smoney;
    }

    public void setSmoney(Double smoney) {
        Smoney = smoney;
    }

    public Integer getYybSCount() {
        return YybSCount;
    }

    public void setYybSCount(Integer yybSCount) {
        YybSCount = yybSCount;
    }

    public Double getBmoney() {
        return Bmoney;
    }

    public void setBmoney(Double bmoney) {
        Bmoney = bmoney;
    }

    @Override
    public String toString() {
        return "YingyebuEntity{" +
                "YybBCount=" + YybBCount +
                ", TDate='" + TDate + '\'' +
                ", YybName='" + YybName + '\'' +
                ", JmMoney=" + JmMoney +
                ", YybCode='" + YybCode + '\'' +
                ", SName='" + SName + '\'' +
                ", Smoney=" + Smoney +
                ", YybSCount=" + YybSCount +
                ", Bmoney=" + Bmoney +
                '}';
    }
}
